﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.Collections.Generic;

public partial class Home3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //if (Yipusoft.Account.BLL.User.GetUser(User.Identity.Name).UserID.Equals("zzl"))
        //{
        //    Response.Redirect("UserTask.aspx");
        //}



    }
    public string GetDepartment()
    {
        return Yipusoft.Account.BLL.Department.GetDepartment(Yipusoft.Account.BLL.User.GetUser(User.Identity.Name).DepartmentID).FullName;
    }
    public string GetDepartmentID()
    {
        return Yipusoft.Account.BLL.User.GetUser(User.Identity.Name).DepartmentID;
    }
}
